using System;
using System.Collections.Generic;
using System.Text;

namespace Spike.ContractBuilder
{
    public class ServiceStub
    {
        public ServiceStub()
        {
        }

        public ServiceStub(string assemblyName, Type serviceType)
        {
            _assembly = assemblyName;
            _serviceType = serviceType;
        }

        private string _assembly;

        public string AssemblyName
        {
            get { return _assembly; }
            set { _assembly = value; }
        }
        private Type _serviceType;

        public Type ServiceType
        {
            get { return _serviceType; }
            set { _serviceType = value; }
        }

        public override string ToString()
        {
            return string.Format("ServiceStub({0},{1})", _assembly, _serviceType.FullName);
        }

    }
}
